/* Main Reset */
html, body {
	margin: 0;
	padding: 0;
}

body, table {
	font-family: Arial;
	font-size: 13px;
}

h1 {
	margin: 0;
	padding: 0;
	font-size: 16px;
	width: 80%;
	float: left;
}

/* Header */
#head {
	padding: 10px;
	background: #224477;
	color: #FFF;
	margin-bottom: 20px;
	overflow: hidden;
}
#head a {
	display: block;
	float: right;
	padding: 4px 10px;
	text-align: center;
	color: #224477;
	background: #FFF;
	font-weight: bold;
	text-decoration: none;
	-moz-border-radius: 5px;
}
#head a:hover {
	background: #FFE;
}

/* Contents */
#login-box {
	width: 400px;
	margin: 20px auto;
	font-weight: bold;
}

#item-list, #order-list, #report {
	width: 800px;
	margin: 0 auto;
	margin-bottom: 20px;
}
#item-list table, #order-list table {
	border: 6px solid #eef;
	clear: both;
}
tr.odd {
	background-color: #EEF;
}

#item-list h3 {
	margin: 0;
	padding: 0;
	font-size: 14px;
	vertical-align: center;
}

#item-list h3 span {
	font-size: 12px;
	color: #666;
	margin: 4px;
}
#item-list td span {
	font-weight: bold;
}

#new-form {
	width: 800px;
	margin: 0 auto;
}
.tab {
	display: block;
	float: left;
	margin-left: 8px;
	padding: 6px 20px;
	font-weight: bold;
	text-decoration: none;
	color: #224477;
	border: 1px solid #EEEEFF;
}
.this, .tab:hover {
	background: #EEEEFF;
}

.customer {
	line-height: 22px;
	width: 300px;
	float: left;
	padding: 10px;
}
.order-item {
	width: 450px;
	float: right;
	padding: 10px;
}

.customer div {
	padding: 0 0 0 26px;
}
.customer-name {
	background: 4px url(../admin/images/name.png) no-repeat;
	font-weight: bold;
}
.customer-email {
	background: 4px url(../admin/images/email.png) no-repeat;
}
.customer-phone {
	background: 4px url(../admin/images/phone.png) no-repeat;
}
.customer-address {
	background: 4px url(../admin/images/address.png) no-repeat;
}

.order-item div {
	border-bottom: 1px dotted #c0c0c0;
	padding: 4px 0 4px 32px;
	margin-bottom: 4px;
	font-weight: bold;
	background: 4px url(../admin/images/book.png) no-repeat;
}
.order-item div span {
	font-weight: normal;
	color: #666;
}

/* Form */
.form-field {
	margin: 5px 0;
}

input[type=text], input[type=password], textarea {
	padding: 4px;
	border: 1px solid #c0c0c0;
	width: 269px;
}

input[type=text]:focus, input[type=password]:focus, textarea:focus {
	background: #FFE;
}

input[type=submit] {
	padding: 4px 20px;
	font-weight: bold;
	font-size: 12px;
}

a.new-link {
	background: 5px url(../admin/images/add.png) no-repeat;
	display: block;
	float: right;
	margin: 5px;
	border: 1px solid #c0c0c0;
	padding: 6px 10px 6px 20px;
	text-decoration: none;
	color: #555;
}
a.new-link:hover {
	color: #000;
	text-decoration: underline;
}

/* Footer */
#foot {
	color: #c0c0c0;
	font-size: 12px;
	border-top: 1px dotted #c0c0c0;
	text-align: center;
	margin: 10px;
	padding-top: 10px;
}

/* Malicious */
.msg {
	border-top: 1px solid #224477;
	border-bottom: 1px solid #224477;
	color: #224477;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	padding: 8px 0;
}
label.error {
	font-size: 11px;
	color: red;
	margin-left: 4px;
	font-style: italic;
}
a.action {
	float: right;
	margin-right: 10px;
}
a.action img {
	border: 0 none;
}
